package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务信息对象 tasks
 * 
 * @author ruoyi
 * @date 2025-01-15
 */
public class Tasks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务id */
    private Long tasksId;

    /** 任务名 */
    @Excel(name = "任务名")
    private String name;

    /** 任务描述 */
    @Excel(name = "任务描述")
    private String descs;

    /** 图 */
    @Excel(name = "图")
    private String imageUrl;

    /** 是否上线(0下线,1上线) */
    @Excel(name = "是否上线(0下线,1上线)")
    private String status;

    /** 任务类型(1每日任务，2每周任务) */
    @Excel(name = "任务类型(1每日任务，2每周任务)")
    private String types;

    /** 任务完成方式(1在线时长,2.完成对局,3.单局分数.4获得金币,5获得道具,6使用道具,7开启普通宝箱,8.开启超级宝箱) */
    @Excel(name = "任务完成方式(1在线时长,2.完成对局,3.单局分数.4获得金币,5获得道具,6使用道具,7开启普通宝箱,8.开启超级宝箱)")
    private String way;

    /** 任务道具id */
    @Excel(name = "任务道具id")
    private Long propsId;

    /** 任务要求数量/时间量 */
    @Excel(name = "任务要求数量/时间量")
    private Long demand;

    /** 奖励信息 */
    @Excel(name = "奖励信息")
    private String rewardInformation;

    public void setTasksId(Long tasksId) 
    {
        this.tasksId = tasksId;
    }

    public Long getTasksId() 
    {
        return tasksId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescs(String descs) 
    {
        this.descs = descs;
    }

    public String getDescs() 
    {
        return descs;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setTypes(String types) 
    {
        this.types = types;
    }

    public String getTypes() 
    {
        return types;
    }
    public void setWay(String way) 
    {
        this.way = way;
    }

    public String getWay() 
    {
        return way;
    }
    public void setPropsId(Long propsId) 
    {
        this.propsId = propsId;
    }

    public Long getPropsId() 
    {
        return propsId;
    }
    public void setDemand(Long demand) 
    {
        this.demand = demand;
    }

    public Long getDemand() 
    {
        return demand;
    }
    public void setRewardInformation(String rewardInformation) 
    {
        this.rewardInformation = rewardInformation;
    }

    public String getRewardInformation() 
    {
        return rewardInformation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tasksId", getTasksId())
            .append("name", getName())
            .append("descs", getDescs())
            .append("imageUrl", getImageUrl())
            .append("status", getStatus())
            .append("types", getTypes())
            .append("way", getWay())
            .append("propsId", getPropsId())
            .append("demand", getDemand())
            .append("rewardInformation", getRewardInformation())
            .append("createTime", getCreateTime())
            .toString();
    }
}
